package com.hyq.market.ui.home.mime;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.hannesdorfmann.mosby.mvp.MvpPresenter;
import com.hyq.market.R;
import com.hyq.market.base.AbsFragment;
import com.hyq.market.ui.home.gclass.PersenterClass;
import com.hyq.market.ui.login.PersenterLogin;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * Created by Administrator on 2017/7/19 0019.
 */

public class MineFt extends AbsFragment {


    @BindView(R.id.parent_line1)
    LinearLayout parentLine1;
    Unbinder unbinder;
    private View rootView;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        rootView = inflater.inflate(R.layout.fragment_layout_mine, null);
        unbinder = ButterKnife.bind(this, rootView);
        return rootView;
    }

    @Override
    public MvpPresenter createPresenter() {
        presenter=new PersenterMine();
        return presenter;
    }




    @Override
    protected void lazyLoad() {
        // presenter.loadData();
    }


    @Override
    public <T> void loadData(T t) {

    }


    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }
}
